home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Learn Microsoft Visual Basic 6.0 Now
/
Learn Microsoft Visual Basic 6.0 Now (Microsoft Press)(X03-58607)(1998).ISO
/
media
/
chap06
/
b06a005.cc2
< prev
next >
Wrap
Text File
|
1998-06-07
|
1KB
|
31 lines
0, In Chapter 5, you learned how to use the
2, If...Then and Select Case decision
4, structures to choose which statements to
6, execute in a program. In this chapter, you
10, will learn how to execute a block of
11, statements over and over by using a loop.
16, First, you'll learn how to use a
18, For...Next loop to execute statements a set
20, number of times. This capability will let
24, you display output on the screen, manage
27, input, and handle advanced tasks such as
31, string processing and array
32, manipulation. Next, you'll learn how to use a Do
37, loop to execute statements until a
39, conditional expression in the loop evaluates to
41, true. Do loops are a useful alternative
45, to For...Next loops. And I'll teach you a
47, few classic techniques for managing input
49, with them, including avoiding a
51, troublesome condition known as the endless
53, loop. Finally, you'll explore using a Timer
57, control to execute code at specific
60, intervals in your program. The Timer control
63, adds a different twist to looping
65, because it executes entire event procedures
67, rather than a shorter block of program
69, statements. Using the Timer control, you
72, can very quickly create digital clocks,
74, "time expired" messages, and compelling
76, animation effects.
79, END